package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author: Chenchao
 * @CreateTime: 2020-03-02 14:48
 */
@Table(name = "IDR.TASK")
public class TaskEntity extends BaseEntity implements Serializable {

    /**
     * 医嘱任务ID
     */
    @Id
    @Column(name = "TASK_ID")
    private String taskId;

    /**
     * 任务名称
     */
    @Column(name = "TASK_NAME")
    private String taskName;
    /**
     * 状态(0 暂存 1 启用 2 停用)
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 任务唯一标识
     */
    @Column(name = "TASK_CODE")
    private String taskCode;

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
